<div ng-include src="'tpl/public/header.html?1'"></div>
<div class="contents">
  <ol ng-if="head!='no'" class="breadcrumb" >
    <li> <a href="#/index/panel">首页</a> </li>
    <li> 
      <span ng-if="!role&&k=='1'"><a href="#/neworder/chanping/myorder/incomplete/list?m=01">我的未完成订单列表</a></span>
      <span ng-if="!role&&k=='2'"><a href="#/neworder/chanping/ordermanager/incomplete/list?m=05">全部未完成的订单列表</a></span>
      <span ng-if="!role&&k=='3'"><a href="#/neworder/chanping/myorder/effective/list?m=02">我的有效订单列表</a></span>
      <span ng-if="!role&&k=='4'"><a href="#/neworder/chanping/ordermanager/effective/list?m=06">全部有效的订单列表</a></span>
 <!--兼容历史网页进入-->
      <a href="#/neworder/neworder0815/list?m={{k}}&role={{role}}">{{k|orderListTitleRender}}</a>
    </li>

    <li>订单附件审核</li>
  </ol>
  客户资料上传
  <form class="form-horizontal" role="form" name="form" novalidate ng-submit="">
    <div class="fl" style="width:98%;">
    <div>
      <button type="button" class="btn btn-primary" ng-click="confirmCommitAll()" >一键确认</button>
    </div>
    <div ng-repeat="item in list" style="width:33%;height:400px;padding-top:20px;margin-left:10%;border:1px solid #ddd;display: inline-block;">
        <div>
        审核状态:<span style="color:red">{{item.oPhoStatus|oPhoStatusView}}</span>
    
         <br/>
          <span ng-if="item.oPhoStatus=='04'">退回原因:<span style="color:red">{{item.oPhoReason}}</span></span>
          <br/>
        {{item.oPhoType | tjzlView}}:
        </div>
        <td style="width:15%;padding-left:20px">
           <a href="{{staticHost}}{{item.oPhoUri}}" target="_blank" class="btn btn-primary">预览</a>
        </td>
        <td style="width:15%;padding-left:20px"  >
           <button type="button" class="btn btn-primary" ng-click="toBack(item.oPhoId)" >退回</button>
        </td>
        <td style="width:15%;padding-left:20px"  >
       <button type="button" class="btn btn-primary" ng-click="confirmCommit(item.oPhoId)" >确认</button>
        <div>
          <img width="100%" height="290px" ng-src="{{staticHost}}{{item.oPhoUri}}" />
        </div>
        <br/>
    </div>


    </div>
  <!--  <div class="fr" style="width:44%;">
      <img ng-src="{{staticHost}}{{pic}}" style="width:400px; max-height:600px" />
    </div>-->
  </form>
</div>

<div class="layer-box" ng-show="showEstablishaFormFlag">
  <div class="layer-bg"></div>
  <div class="layer-con " style="padding:10px 20px;">
    <span class="icons-close" title="关闭" ng-click="showEstablishaFormFlag = false;">X</span>
    <div class="layer-title">
      请填写退回原因
    </div>
    <div class="con-wrap">
      <form class="form-horizontal" role="form" name="estagForm" novalidate ng-submit="confirmReason()">
        <input type="hidden" ng-model="oPhoId" />
        <div class="form-group" ng-class="{'has-error':estagForm.oPhoReason.$invalid}">
          <textarea ng-model="oPhoReason"  required="required"></textarea>
        </div> 
        <div class="form-group" >
          <input type="submit" class="btn btn-block btn-primary" value="保存" />
        </div>
      </form>
    </div>
  </div>
</div> 

